<?php
namespace Misyuan;
class App
{
    protected static $request = null;
   public function __construct($request)
    {
        static::$request = $request;
        
    }
     public static function request()
    {
        return static::$request;
    }
    public static function app(){
         $var_parse = explode('/', static::$request->path());
        //   $var_parse = ;
        // var_dump($var_parse);
        if(count($var_parse)==4){
            return $var_parse[1];
        }else {
            return "";
        }
    }

    
}